<?php
class AgvroadController extends Yaf_Controller_Abstract{
	const NET_OK = 10;
	public function init(){
		$user = cookie::get('user');
		if(!$user){
			$this->redirect('/index/login/');
			return false;
		}
		Yaf_Loader::import('import.php');
	}
	/**
	 * 磁导航路点首页
	 * @method indexAction
	 * @return [type]      [description]
	 * @author NewFuture
	 */
	public function indexAction(){
		$search = $_POST;
		// $result = net::inst('autoBG')->;
		// if($result->ret == self::NET_OK){
		// 	$this->getView()->assign('agvroadDetail',$result->list[0]);
		// }else{
		// 	$this->getView()->assign('error',$result->msg);
		// }
	}
	/**
	 * 磁导航路点添加
	 * @method addAgvRoadAction
	 * @return [type]      [description]
	 * @author NewFuture
	 */
	public function addAgvRoadAction(){

	}
	/**
	 * 磁导航路点编辑
	 * @method agvRoadEditAction
	 * @return [type]      [description]
	 * @author NewFuture
	 */
	public function agvRoadEditAction(){

	}
	/**
	 * 磁导航路点详情
	 * @method AgvRoadDetailAction
	 * @return [type]      [description]
	 * @author NewFuture
	 */
	public function AgvRoadDetailAction(){

	}
}